A08 - Two Dimensional Sum
提出
code: python
h, w = map(int, input().split())
q = int(input())
print(abcd)
# 横か縦、どちらかを保持していればいい
# 累積和 ? 差分
解答
code: python
h, w = map(int, input().split())
q = int(input())
z = [0 * (w+1) for _ in range(h+1)] for i in range(1, h+1):
for j in range(1, w+1):
for j in range(1, w+1):
for i in range(1, h+1):
for a, b, c, d in abcd: